package com.naiterui.ehp.bs.patient.service.function;

import java.util.List;

import com.naiterui.ehp.bp.bo.patient.ConvertWxImageBO;
import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.patient.utils.exception.PatientBusinessException;
import com.naiterui.ehp.bs.patient.vo.doctor.DoctorVO;
import com.naiterui.ehp.bs.patient.vo.patient.PersonalRelation;

/**
 * @author gaoliangliang
 * @date 2019/11/27 8:20 下午
 * @since 1.0.0
 */
public interface IFunctionService {
    void isdDleteDoctorPatientRelation(Long doctorId, Long patientId) throws BusinessException;

    void isAllDoctorsDisable(Long patientId) throws PatientBusinessException;

    List<ConvertWxImageBO> convertImage(List<ConvertWxImageBO> convertWxImageList);

    void syncImageFile(List<ConvertWxImageBO> result);
    /**
     * 绑定私人医生逻辑处理
     *
     * @param doctorId   医生推荐码
     * @param patientId  患者id
     * @param firstRecom 0:非首推；1：首推
     * @return DoctorVo <医生简单信息>
     * @throws BusinessException 医生不存在、用户异常、已经绑定过
     * @History 2015年6月21日 上午11:24:21 by Amber
     */
    PersonalRelation addPersonalDoctor(Long doctorId, Long patientId, Integer firstRecom, int source) throws Exception;
    /**
     * 取消关注
     *
     * @param patientId 患者id
     * @param doctorId  医生id
     * @throws BusinessException 没有关注该医生
     * @History 2015年6月21日 下午9:36:03 by Amber
     */
    DoctorVO deleteAttend(Long patientId, Long doctorId) throws BusinessException;
}
